home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / pfe0507.zip / FAQ.TXT < prev    next >
Text File  |  1994-03-18  |  10KB  |  255 lines

  1.                          Frequently Asked Questions
  2.                                      on
  3.                           Programmer's File Editor
  4.                          --------------------------
  5.  
  6.     [Answers in this file refer to facilities available in PFE 0.05.007]
  7.  
  8. ----
  9.  
  10. Q. How can I arrange that edit windows are created to use the maximum area
  11. available in the MDI client area?
  12.  
  13. A. You can do this by setting a value for the 'open-maximized' key in the
  14. [options] section of the initialisation file pfe.ini or pfe32.ini. If you
  15. include a line like this:
  16.  
  17.             open-maximized=1
  18.  
  19. then whenever you open a file or perform a File New command, the window will be
  20. created in a maximized state. Other values are also supported to allow you more
  21. exact control; see the help file for complete details
  22.  
  23. ----
  24.  
  25. Q. Why don't all the TrueType fonts I have installed on my system appear in the
  26. printer and screen fonts dialogs?
  27.  
  28. A. Because PFE is a programming-oriented text editor, rather than a word
  29. processor, it supports only fixed pitch fonts (ones in which all characters
  30. occupy the same width on screen or paper). There are, sadly, very few fixed
  31. pitch fonts available. There are no plans to add variable fixed pitch support
  32. in a future release.
  33.  
  34. ----
  35.  
  36. Q. How can I ensure that if I associate PFE with a file type in File Manager,
  37. double clicking on a file of that type will bring up a new PFE window rather
  38. than opening the file in an already-running instance?
  39.  
  40. A. Normally, whenever you start PFE, it will look to see if an instance is
  41. already running. If it is, this instance is activated, and the names of any
  42. files you give on the command line will be passed to it across a DDE link. If
  43. you want to force a new instance of PFE to start instead of activating an
  44. existing one, use the '/m' command line flag.
  45.  
  46. ----
  47.  
  48. Q. I want PFE to remember the names of more than the last 5 files I've edited,
  49. so I can pick them quickly from the File menu. How can I do this?
  50.  
  51. A. The initialisation file pfe.ini or pfe32.ini has two settings in the
  52. [options] section of relevance here. Setting
  53.  
  54.           mru-list-size=x
  55.  
  56. will change the number of files recorded to 'x', which can be in the range
  57. 0..64. Setting
  58.  
  59.           mru-files-shown=y
  60.  
  61. will show 'y' filenames on the end of the File menu ('y' can lie in the range
  62. 0..8; if you set it to be > 5 the File menu will look very clumsy on 640 x 480
  63. screens).
  64.  
  65. When PFE has more files remembered than will fit on the File menu, it adds an
  66. extra "More Files..." item, which gives you a dialog showing a full list of all
  67. the names.
  68.  
  69. ----
  70.  
  71. Q. I don't like the standard Windows File Manager, and prefer to use a third
  72. party one. How can I get the File Manager item on the Execute menu to start
  73. this instead of the standard one?
  74.  
  75. A. All the "manager" items on the Execute menu can be tailored to run any
  76. command line you choose. In the initialisation file pfe.ini/pfe32.ini you
  77. should set up a [managers] section containing lines like this
  78.  
  79.                   [managers]
  80.                   file-manager=c:\tools\newfm.exe /q
  81.                   task-manager=c:\tools\newtm.exe
  82.                    ... etc ...
  83.  
  84. There are full details on this in the help file
  85.  
  86. ----
  87.  
  88. Q. I use 4DOS-for-NT as my Windows/NT command processor instead of Microsoft's
  89. cmd.exe - how can I get the Execute DOS Prompt and associated tool bar button to
  90. start this?
  91.  
  92. A. You can define the command processor you want to start in the [options]
  93. section of the initialisation file pfe.ini/pfe32.ini like this:
  94.  
  95.                   comspec=c:\4nt\4nt.exe
  96.  
  97. Under Windows 3.1, you'll probably have set the DOS environment variable
  98. COMSPEC to identify your command processor, and PFE will use this
  99.  
  100. ----
  101.  
  102. Q. What's the difference between the Execute Launch Application command and the
  103. Execute Launch Windows Tool command?
  104.  
  105. A. In terms of what they accomplish - to start a Windows or a DOS application
  106. running independently of PFE - there's none. Execute Launch Application starts
  107. a dialog that prompts you for a command line; it remembers the last command
  108. line you used, but that's all.
  109.  
  110. The Execute Launch Windows Tool command, by contrast, lets you define a whole
  111. set of command lines, and label each one with a meaningful name. For example,
  112. you could name a tool entry as "Edit Help File", and associate a command line
  113. that runs Word for Windows to edit a file. Or you could have one called "Build
  114. data file" that runs a DOS application with a set of files on its command line.
  115. You just pick the function you want from your mnemonic list, without needing to
  116. bother about what the command line has to be
  117.  
  118. ----
  119.  
  120. Q. I use Windows NT on MIPS and DEC Alpha platforms - is there an executable
  121. of PFE32 for these?
  122.  
  123. A. PFE32 exists only for Intel hardware. There are no plans for MIPS or DEC
  124. Alpha versions
  125.  
  126. ----
  127.  
  128. Q. How can I record my keyboard macros for use in other sessions?
  129.  
  130. A. This ability is not a part of the current PFE release. A future version will
  131. include savable keyboard macros, implemented as editable macro libraries
  132.  
  133. ----
  134.  
  135. Q. How does PFE manage to allow more than 32K of text to be edited in an edit
  136. control?
  137.  
  138. A. PFE doesn't, in fact, use standard edit controls to show text. The windows
  139. you see are ordinary MDI child windows, and the text is drawn explicitly by PFE
  140. as required. Internally, a complicated memory management system keeps track of
  141. where each line of each file is stored.
  142.  
  143. ----
  144.  
  145. Q. Why, if I have word wrap switched on for a window, will PFE wrap text only
  146. when I'm typing at the end of the line and not when I insert in the middle of
  147. it?
  148.  
  149. A. The current design of PFE is set to do things that way for efficiency
  150. reasons. A forthcoming release will feature a command to reflow the text of a
  151. paragraph so that it fits within the wrap margin.
  152.  
  153. ----
  154.  
  155. Q. Why do I get "Help file not found" when I ask for help?
  156.  
  157. A. Make sure that you have the help file pfe.hlp in the same directory as the
  158. pfe.exe or pfe32.exe executable program
  159.  
  160. ----
  161.  
  162. Q. Why is the default of 32 undoable actions so small? Surely, when I'm typing
  163. text, I'll fill that up in 32 keypresses?
  164.  
  165. A. Actually, no - the undo system doesn't work in quite that way. It records
  166. specific _actions_ in its stack, such as a drag-drop move of text, or a cut of
  167. the highlighted text. When you're typing, each keypress is considered as part
  168. of a _single_ action, which is terminated only when you do something different,
  169. like moving the caret with the arrow keys, or switching to another window.
  170.  
  171. Then, when you use the Undo Typing command, PFE will remove all the typing
  172. you've performed in that action (a future release of PFE will probably let you
  173. undo typing actions character-by-character too)
  174.  
  175. ----
  176.  
  177. Q. If I select some text and start to drag it to a new location, how can I
  178. change my mind without having to drop the text somewhere and then undo the
  179. action?
  180.  
  181. A. You can cancel a drag-and-drop in one of two ways. If the highlighted text
  182. is visible in the window, move the mouse cursor somewhere inside it and release
  183. the left button. Alternatively, press the Escape key before you release the
  184. left mouse button.
  185.  
  186. ----
  187.  
  188. Q. How can I use drag-and-drop to move text from one window to another?
  189.  
  190. A. In the current design, PFE supports drag-and-drop only _within_ a window.
  191. Inter-window operation may be added in a future release.
  192.  
  193. ----
  194.  
  195. Q. How can I configure PFE so that the File Save command and its associated
  196. tool bar button are always available? At the moment, I can only use the command
  197. when I've changed the file in some way.
  198.  
  199. A. By default, PFE enables the File Save command only when the file showing in
  200. a window has altered. This gives you some feedback (complementing the 'file
  201. changed' marker in the status bar) that helps you avoid un-necessary saves.
  202.  
  203. Putting the line
  204.  
  205.                  allow-save-always=1
  206.  
  207. in the [options] section of the initialisation file pfe.ini/pfe32.ini has the
  208. effect of making File Save and its tool bar button available all the time. The
  209. status bar flag, though, is now the only indicator you have to identify that a
  210. file has been altered
  211.  
  212. ----
  213.  
  214. Q. I like the window that runs DOS commands with output capture to start full
  215. screen, and to have specific tuning details set. How can I do this?
  216.  
  217. A. DOS commands with output capture are run by either the $pfedos.exe (for
  218. Windows 3) or $pfeds32.exe (for Windows/NT) helper modules. To change how the
  219. windows are created, set up suitable PIF files $pfedos.pif and/or $pfeds32.pif
  220. in the same directory, and use the Windows PIF editor to set the details as you
  221. require
  222.  
  223. ----
  224.  
  225. Q. How do I insert a Form Feed into a file, or specify it in the Find and
  226. Replace dialogs?
  227.  
  228. A. To insert a Form Feed (or any other non-typable character) use the
  229. EditTextInsertASCIICode command, which is by default mapped to Ctrl+Q. This
  230. starts up a dialog that lets you select Esc and Ctrl+A - Ctrl+Z easily by name,
  231. or specify any ASCII code you like as a number.
  232.  
  233. To specify Form Feed in the Find or Replace dialogs, write it as the two-
  234. character sequence "\f". You can also specify end-of-line by "\n" and tab by
  235. "\t"; and you can specify an arbitrary code as "\xhh", where "hh" represents
  236. two hex digits. Remember that if you actually want a "\" character, you need to
  237. write it as "\\".
  238.  
  239. ----
  240.  
  241. Q. Why do I see lots of files with type .&&& (PFE version 0.05.006) or .$$$
  242. (PFE version 0.05.007 and later) in my directories?
  243.  
  244. A. These are the backup files that PFE produces whenever you save a file. If a
  245. file of the same name exists already, PFE renames it with a type of .$$$ before
  246. writing the new data to disk. You can disable backups with the Options Default
  247. File/Window Modes or Options Current File/Window Modes commands.
  248.  
  249. You can also choose to have PFE keep backup files in a subdirectory of the one
  250. containing a file, rather than using the .$$$ file type. To do this, put a line
  251.  
  252.          backup-mode=1
  253.  
  254. in the [options] section of the ini file
  255.